package com.lzx.reggie.entity

import com.baomidou.mybatisplus.annotation.FieldFill

import com.baomidou.mybatisplus.annotation.TableField
import java.io.Serializable

import java.time.LocalDateTime


data class DishFlavor(
    var id: Long? = null,


    //菜品id
    var dishId: Long? = null,


    //口味名称
    var name: String? = null,


    //口味数据list
    var value: String? = null,


    @TableField(fill = FieldFill.INSERT)
    var createTime: LocalDateTime? = null,


    @TableField(fill = FieldFill.INSERT_UPDATE)
    var updateTime: LocalDateTime? = null,


    @TableField(fill = FieldFill.INSERT)
    var createUser: Long? = null,


    @TableField(fill = FieldFill.INSERT_UPDATE)
    var updateUser: Long? = null,


    //是否删除
    var isDeleted: Int? = null
) : Serializable {
    companion object {
        private const val serialVersionUID = 1L
    }

}
